package com.qf.mybatis.entity;

import java.util.Date;

/**
 * @author 郑大仙丶
 * @version 1.0
 * @date 2021/3/17 16:32
 */
public class Air {

    private Integer id;


    private String pm10;

    private String pm25;


    // 开启MyBatis的驼峰映射
    // 检测时间
    private Date monitorTime;   // monitor_time

    // 监测站
    private String monitoringStation;  //monitoring_station

    // 最后修改时间
    private Date lastModifyTime;   //last_modify_time

    // 地区表中的地区名称
    private String name;

    @Override
    public String toString() {
        return "Air{" +
                "id=" + id +
                ", pm10='" + pm10 + '\'' +
                ", pm25='" + pm25 + '\'' +
                ", monitorTime=" + monitorTime +
                ", monitoringStation='" + monitoringStation + '\'' +
                ", lastModifyTime=" + lastModifyTime +
                ", name='" + name + '\'' +
                '}';
    }

    public Date getMonitorTime() {
        return monitorTime;
    }

    public void setMonitorTime(Date monitorTime) {
        this.monitorTime = monitorTime;
    }

    public String getMonitoringStation() {
        return monitoringStation;
    }

    public void setMonitoringStation(String monitoringStation) {
        this.monitoringStation = monitoringStation;
    }

    public Date getLastModifyTime() {
        return lastModifyTime;
    }

    public void setLastModifyTime(Date lastModifyTime) {
        this.lastModifyTime = lastModifyTime;
    }





    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPm10() {
        return pm10;
    }

    public void setPm10(String pm10) {
        this.pm10 = pm10;
    }

    public String getPm25() {
        return pm25;
    }

    public void setPm25(String pm25) {
        this.pm25 = pm25;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
